<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户更新</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-default navbar-static-top">
    <div class="container">
        <div class="navbar-header">

            <a class="navbar-brand" href="#">数据集的查询系统后台</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li class="active"><a th:href="@{/user/listU}">用户管理<span class="sr-only">(current)</span></a></li>
                <li><a th:href="@{/user/book/listB}">书籍管理</a></li>
                <li><a th:href="@{/user/coursera/listC}">课程管理</a></li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>
<form th:action="@{/user/updateU}" method="post">
    <input type="hidden" name="id" th:value="${userEntity.getId()}"/>
    <div>
        <div class="form-group">
            <label>姓名</label>
            <input  th:value="${userEntity.getName()}" type="text" name="name" class="form-control" placeholder="请输入姓名"/>
        </div>
        <div class="form-group">
            <label>密码</label>
            <input th:value="${userEntity.getPassword()}" type="text" name="password" class="form-control" placeholder="请输入密码"/>
        </div>
        <div class="form-group">
            <label>电话</label>
            <input th:value="${userEntity.getPhone()}" type="text" name="phone" class="form-control" placeholder="请输入电话"/>
        </div>
        <div class="form-group">
            <label>状态码</label>
            <input th:value="${userEntity.getStatus()}" type="text" name="status" class="form-control" placeholder="请输入状态码"/>
        </div>

        <button type="submit" class="btn btn-primary">确认修改</button>
    </div>
</form>
</body>
</html>
